package com.yanqu.road.entity.activity.hsisland.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.*;
import java.util.concurrent.ConcurrentHashMap;

@FieldTypeAnnotation(tableName = "t_c_activity_hs_island_kill_boss_record")
public class HsIslandKillBossRecord extends DataObject {

    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "分组ID", select = true, update = true)
    private int groupId;

    @FieldTypeAnnotation(desc = "战场怪物id")
    private int monsterId;

    @FieldTypeAnnotation(desc = "所属战场id")
    private long battleFieldId;

    @FieldTypeAnnotation(desc = "击杀玩家id")
    private long killUserId;


    @FieldTypeAnnotation(desc = "击杀时间")
    private long killTime;

    public HsIslandKillBossRecord() {
    }


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        if (this.groupId != groupId) {
            this.groupId = groupId;
            setOp(DataStatus.Update);
        }
    }

    public int getMonsterId() {
        return monsterId;
    }

    public void setMonsterId(int monsterId) {
        if (this.monsterId != monsterId) {
            this.monsterId = monsterId;
            setOp(DataStatus.Update);
        }
    }

    public long getBattleFieldId() {
        return battleFieldId;
    }

    public void setBattleFieldId(long battleFieldId) {
        if (this.battleFieldId != battleFieldId) {
            this.battleFieldId = battleFieldId;
            setOp(DataStatus.Update);
        }
    }

    public long getKillUserId() {
        return killUserId;
    }

    public void setKillUserId(long killUserId) {
        if (this.killUserId != killUserId) {
            this.killUserId = killUserId;
            setOp(DataStatus.Update);
        }
    }

    public long getKillTime() {
        return killTime;
    }

    public void setKillTime(long killTime) {
        if (this.killTime != killTime) {
            this.killTime = killTime;
            setOp(DataStatus.Update);
        }
    }
}
